<div ng-if="pagedata.isgolist" class="popup">
	<div class="popup-body">
		<div class="popup-top" style="min-height:18rem">
			<div class="fui-header" style="height:2.6rem;background:#fff">
				<div class="fui-header-left">
					<a class="back2" href="javascript:" ng-click="goback()"></a>
				</div>
				<div class="fui-header-input" style="top:0.5rem;right:0.5rem">
					<div class="searchbar searchbar-active" style="margin-left:1.6rem">
							<div class="search-input" style="margin-right:0.5rem">
								<i id="searchsub" class="icon icon-sousuo1" ng-click="pagedata.getlist();"></i>
								<input type="search" placeholder="{{pagedata.pluginset.searchtitle ||'煌上煌酱鸭 满39减10'}}" class="search" ng-model="pagedata.params.keyword" style="text-align: left; color: #999; font-size:0.6rem;background:#f9f9f9;border-radius: 1rem;border: 0 solid #ddd;" />
							</div>
					</div>
				</div>
			</div>
			<i class="block icon icon-cuowu" style="font-size: 1.3rem;color:#fff;top:100%;left:50%;margin-left:-0.65rem" ng-click="pagedata.isgolist=false"></i>
			<div class="fui-tab-scroll" style="margin-top:2.3rem;padding-left:0.5rem">
					<div ng-class="{'item':1,'on':!pagedata.showgoods}" style="height:2rem;line-height:2rem"><a href="javascript:;" ng-click="pagedata.getlist('merch');pagedata.showgoods=false">附近商家</a></div>
			</div>
			<div class="fui-list-group" style="margin:0;background:none;padding:0">
				<div class="fui-list" style="font-size:0.65rem;padding:0.4rem 0.9rem">
					<div ng-click="pagedata.golist('showlist',0);" class="fui-list-inner {{pagedata.paramstype==0?'bold':''}}"><span>综合排序 <i class="icon icon-moreunfold"></i></span></div>
					<div ng-click="pagedata.golist('showlist',1);" class="fui-list-inner {{pagedata.paramstype==1?'bold':''}}"><span>商户品类 <i class="icon icon-moreunfold"></i></span></div>
					<div ng-click="pagedata.golist('showlist',2);" class="fui-list-inner {{pagedata.paramstype==2?'bold':''}}"><span>配送速度 <i class="icon icon-moreunfold"></i></span></div>
					<div ng-click="pagedata.golist('showlist',3);" class="fui-list-inner {{pagedata.paramstype==3?'bold':''}}"><span>全部筛选 <i class="icon icon-moreunfold"></i></span></div>
				</div>
				<div ng-if="pagedata.paramstype==0" class="row margin0" style="padding:0.4rem 0.9rem">
							<div class="fui-cell-title subtitle" style="padding:0.3rem 0" range="500" ng-click="pagedata.getlist('','all')">综合排序</div>
							<div class="fui-cell-title subtitle" style="padding:0.3rem 0"  ng-click="pagedata.getlist('','salenum')">销量优先</div>
							<div class="fui-cell-title subtitle" style="padding:0.3rem 0"  ng-click="pagedata.getlist('','juli')">距离优先</div>
							<div class="fui-cell-title subtitle" style="padding:0.3rem 0"  ng-click="pagedata.getlist('','sudu')">速度优先</div>
							<div class="fui-cell-title subtitle" style="padding:0.3rem 0" ng-click="pagedata.getlist('','star')">评分优先</div>
							<div class="fui-cell-title subtitle" style="padding:0.3rem 0" ng-click="pagedata.getlist('','out_pay')">配送费最低</div>
							<div class="fui-cell-title subtitle" style="padding:0.3rem 0" ng-click="pagedata.getlist('','out_price')">起送价最低</div>
				</div>
				<div class="fui-fullHigh-group modal-swiper-y" ng-if="pagedata.paramstype==1">
						<div class="fui-fullHigh-item menu" id="tab">
							<nav ng-class="{'on':pagedata.params.pid == 'all'}" ng-click="pagedata.params.pid='all';pagedata.childs=pagedata.allcate">全部分类</nav>
							<nav ng-repeat="value in pagedata.merch_types" ng-click="pagedata.childs=value.childs;pagedata.image=value.image;pagedata.params.pid=value.id" ng-class="{'on':pagedata.params.pid == value.id}">{{value.title}}</nav>
						</div>
						<div class="fui-fullHigh-item container" style="position: relative">
							<div id="container">
							<div class="fui-icon-group selecter">
								<a ng-repeat="child in pagedata.childs" ng-click="pagedata.getlist();pagedata.params.cid=child.id" class="fui-icon-col external">
									<div class="icon "><img ng-src="{{tomedia(child.image) || '../core/resource/images/nopic.jpg'}}" ></div>
									<div ng-class="{'text':1,'active':pagedata.params.cid==child.id}">{{child.catename}}</div>
								</a>
							</div>
							<div ng-if="!pagedata.childs || pagedata.childs.length<1" class='content-empty' style="margin-top:0">
								<i class='icon icon-cry'></i><br/>暂时没有任何子分类
							</div>
							</div>
						</div>
				</div>
				<div class="row margin0" ng-if="pagedata.paramstype==2" style="padding:0.4rem 0.5rem">
						<div ng-repeat="v in pagedata.pluginset.julitypes" class="jylabels jylabel-f3f3f3" ng-click="pagedata.params.juli=v.value;pagedata.getlist()">{{v.title}}</div>
				</div>
				<div class="row margin0" ng-if="pagedata.paramstype==3">
						<div class="fui-cell-title">品质</div>
						<div class="row margin0" style="padding:0 0.5rem">
							<div class="jylabels jylabel-f3f3f3" ng-click="pagedata.params.star=5;pagedata.getlist()">5星好评</div>
							<div class="jylabels jylabel-f3f3f3" ng-click="pagedata.params.star=4;pagedata.getlist()">4星好评</div>
							<div class="jylabels jylabel-f3f3f3" ng-click="pagedata.params.order='star';pagedata.getlist()">点评高分</div>
							<div class="jylabels jylabel-f3f3f3" ng-click="pagedata.params.order='brand';pagedata.getlist()">品牌商家</div>
							<div class="jylabels jylabel-f3f3f3" ng-click="pagedata.params.order='salenum';pagedata.getlist()">销量较高</div>
							<div class="jylabels jylabel-f3f3f3" ng-click="pagedata.params.order='you';pagedata.getlist()">优选商家</div>
						</div>
				</div>
			</div>
		</div>
	</div>
</div>